* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* 侧边栏样式 */
.sidebar {
    width: 250px;
    background-color: #001529;
    color: white;
    padding: 20px;
}

.profile {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #ffffff3d;
}

.avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.user-info p {
    margin: 5px 0;
    font-size: 14px;
}

.menu {
    margin-top: 20px;
}

.menu-item {
    padding: 12px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.menu-item:hover {
    background-color: #1890ff;
}

.submenu {
    padding-left: 20px;
    display: none;
}

.submenu-item {
    padding: 8px 12px;
    cursor: pointer;
}

.submenu-item:hover {
    background-color: #1890ff;
}

/* 主内容区域样式 */
.main-content {
    flex: 1;
    padding: 20px;
    background-color: #f0f2f5;
}

.page {
    display: none;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="datetime-local"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button {
    padding: 8px 16px;
    background-color: #1890ff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #40a9ff;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #fafafa;
}

/* 摄像头容器样式 */
.camera-container {
    text-align: center;
    margin-top: 20px;
}

video {
    width: 640px;
    height: 480px;
    background-color: #000;
    margin-bottom: 20px;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 400px;
}

.modal-buttons {
    margin-top: 20px;
    text-align: right;
}

.modal-buttons button {
    margin-left: 10px;
}

/* 签到界面样式 */
.meeting-info {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.meeting-info h3 {
    margin-bottom: 10px;
    color: #333;
}

.check-in-btn {
    background-color: #52c41a;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.check-in-btn:hover {
    background-color: #73d13d;
}

#checkInVideo {
    width: 640px;
    height: 480px;
    background-color: #000;
    margin-bottom: 20px;
}

#checkInCaptureBtn {
    background-color: #1890ff;
    color: white;
    padding: 8px 24px;
    font-size: 16px;
}

/* 参会人员选择表格样式 */
.participants-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.participants-table th,
.participants-table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.participants-table th {
    background-color: #fafafa;
    font-weight: bold;
}

.participants-table input[type="checkbox"] {
    cursor: pointer;
}

.participants-table tr:hover {
    background-color: #f5f5f5;
}

/* 主页样式 */
.welcome-container {
    text-align: center;
    padding: 100px 20px;
}

.welcome-container h1 {
    font-size: 2.5em;
    color: #1890ff;
    margin-bottom: 20px;
}

.welcome-container p {
    font-size: 1.2em;
    color: #666;
}

/* 查看详情按钮样式 */
.view-btn {
    background-color: #1890ff;
    color: white;
    padding: 4px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.view-btn:hover {
    background-color: #40a9ff;
}

/* 签到状态样式 */
.status-badge {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

.status-badge.checked {
    background-color: #f6ffed;
    border: 1px solid #b7eb8f;
    color: #52c41a;
}

.status-badge.unchecked {
    background-color: #fff1f0;
    border: 1px solid #ffa39e;
    color: #f5222d;
} 